package com.aspose.cells;

import java.util.ArrayList;

class zbmh {
   private int a = 14;
   private ArrayList b;
   private ArrayList c;
   private byte[] d;
   private byte[] e;

   void a(int var1) {
      this.a = var1;
   }

   ArrayList a() {
      return this.b;
   }

   void a(ArrayList var1) {
      this.b = var1;
   }

   ArrayList b() {
      if (this.c == null) {
         this.c = new ArrayList();
      }

      return this.c;
   }

   void a(byte[] var1) {
      this.d = var1;
   }

   void b(byte[] var1) {
      this.e = var1;
   }

   void a(zbmh var1) {
      this.a = var1.a;
      int var2;
      byte[] var3;
      byte[] var4;
      if (var1.b != null && var1.b.size() != 0) {
         this.b = new ArrayList();

         for(var2 = 0; var2 < var1.b.size(); ++var2) {
            var3 = (byte[])((byte[])var1.b.get(var2));
            var4 = new byte[var3.length];
            System.arraycopy(var3, 0, var4, 0, var3.length);
            com.aspose.cells.b.a.a.ze.a(this.b, (Object)var4);
         }
      }

      if (var1.d != null) {
         this.d = new byte[var1.d.length];
         System.arraycopy(var1.d, 0, this.d, 0, var1.d.length);
      }

      if (var1.c != null && var1.c.size() > 0) {
         this.c = new ArrayList();

         for(var2 = 0; var2 < var1.c.size(); ++var2) {
            var3 = (byte[])((byte[])var1.c.get(var2));
            var4 = new byte[var3.length];
            System.arraycopy(var3, 0, var4, 0, var3.length);
            com.aspose.cells.b.a.a.ze.a(this.c, (Object)var4);
         }
      }

      if (var1.e != null && var1.e.length > 0) {
         this.e = new byte[var1.e.length];
         System.arraycopy(var1.e, 0, this.e, 0, this.e.length);
      }

   }

   void a(zqa var1) throws Exception {
      var1.c(431);
      if (this.d == null) {
         var1.c(2);
         var1.c(0);
      } else {
         var1.a((short)this.d.length);
         var1.a(this.d);
      }

      var1.c(444);
      if (this.e == null) {
         var1.c(2);
         var1.c(0);
      } else {
         var1.a((short)this.e.length);
         var1.a(this.e);
      }

   }

   void b(zqa var1) throws Exception {
      if (this.c != null && this.c.size() > 0) {
         for(int var2 = 0; var2 < this.c.size(); ++var2) {
            var1.c(2148);
            byte[] var3 = (byte[])((byte[])this.c.get(var2));
            var1.a((short)var3.length);
            var1.a(var3);
         }
      }

   }
}
